package com.baizhi.dao;

import com.baizhi.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserDao {
    public List<User> selectUserSearchByName(@Param("userName") String userName, @Param("offset") int offset, @Param("limit") int limit);
    public int selectSearchCount(@Param("userName") String userName);
    public int deleteUerById(int userId);
    public List<Map> selectCountBySex();
    public List<Map> selectCountByProvince();
    public int insertUser(User user);
    public int selectCountCreate1();
    public int selectCountCreate2();
    public int selectCountCreate3();

}
